<%@ Control Inherits="CVCommunity.Admin.UrlRewrite" %>
<form runat="server">
<div class="grid">
<table cellspacing="0" width="100%">
<tr class="forumno category">
<td>URL重写</td>
</tr>

<tr class="forumtd">
  <td class="smallbox" style="color:#666666">Url重写规则分正向重写规则和反向重写规则<br />
用户如果熟悉正则表达式，也可以按需自定义重写规则</td>
</tr>
<tr class="forumtd">
  <td class="smallbox">是否启用
    <asp:CheckBox ID="Enabled" runat="server" /></td>
  </tr>
<tr class="forumtd">
  <td colspan="2">扩展名称
    <asp:TextBox ID="Ext" runat="server" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" />(非“.aspx”，则需要设置IIS)</td>
  </tr>
<tr class="forumtd">
  <td>正向重写规则</td>
  </tr>
<asp:Repeater ID="rule" runat="server">
<itemtemplate>
  <tr class="forumtd">
  <td><asp:label ID="box" runat="server" class="smallbox" />&nbsp;<asp:label ID="l" runat="server" />&nbsp;=>&nbsp;<asp:label ID="s" runat="server" /></td>
  </tr>
</itemtemplate>
</asp:Repeater>
<tr class="forumtd">
  <td>新: <input type='text' name='nl' value='' size='60' class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'"/>&nbsp;=>&nbsp;<input type='text' name='ns' value='' size='60' class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'"/></td>
  </tr>
<tr class="forumtd">
  <td width="50%">&nbsp;</td>
  </tr>
<tr class="forumtd">
  <td>反向重写规则</td>
  </tr>
<asp:Repeater ID="rrule" runat="server">
<itemtemplate>
  <tr class="forumtd">
  <td><asp:label ID="box" runat="server" class="smallbox" />&nbsp;<asp:label ID="l" runat="server" />&nbsp;=>&nbsp;<asp:label ID="s" runat="server" /></td>
  </tr>
</itemtemplate>
</asp:Repeater>
<tr class="forumtd">
  <td>新: <input type='text' name='rnl' value='' size='60' class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'"/>&nbsp;=>&nbsp;<input type='text' name='rns' value='' size='60' class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'"/></td>
  </tr>

<tr class="forumtd">
<td colspan="2" align="center"><asp:Button Text="保存设置" class="button" OnClick="Save" runat="server"></asp:Button></td>
</tr>
</table>
</div>
</form>